﻿using System;
using System.Collections.Generic;
 
using System.Text;

 
    class BattleSceneState : ISceneState
    {
        public BattleSceneState(SceneStateController controller) : base("BattleScene", controller)
        {

        }

        private GameFacade mFacade;
    //兵营 关卡 角色管理 行动力 成就系统...

    public override void StateStart()
    {
        mFacade.init();

    }
    public override void StateEnd()
    {
        mFacade.Release();
    }
    public override void StateUpdate()
    {
        if (mFacade.isGameOver)
        {
            mController.SetState(new MainMeunSceneState(mController));
        }
        mFacade.update();
    }
}
 
